import { post } from '@/utils/request';

// 登录请求
export function doLogin(params) {
  return post(
    '/users/api/comm/login',
    { ...params, userTypeEnum: 'COMPANY_STAFF', ssoType: 'WX' },
    { showLoading: true, contentType: 'form' }
  );
}

// 获取卖家
export function getSellerList(params = {}) {
  return post('/demeter/api/h5/seller/user/sellers', params, {
    showLoading: true,
  });
}
